package com.example.consumer.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

@FeignClient(name = "provider-service")
public interface ProviderClient {

    @GetMapping("/api/provider/hello")
    Map<String, Object> hello();

    @GetMapping("/api/provider/info")
    Map<String, Object> getInfo();
} 